import java.util.Arrays;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 28463
 * Date: 2022—07—16
 * Time: 16:52
 */
public class Demo01 {
    public static void main1(String[] args) {
        int[] array = {9,1,2,5,7,4,8,6,3,5};
        Sort.shellSort(array);
        System.out.println(Arrays.toString(array));
    }
    public static void main(String[] args) {
        int[] array = {10,5,12,2,3,1,6};
//        Sort sort = new Sort();
//        sort.insertSort(array);
//        System.out.println(Arrays.toString(array));
//        Sort.selectSort(array);
//        System.out.println(Arrays.toString(array));
//        Sort.quickSort(array);
        Sort.countSort(array);
        System.out.println(Arrays.toString(array));
    }
}
